/*
 * @Author: hmhvictory 1400628624@qq.com
 * @Date: 2025-08-01 15:59:27
 * @LastEditors: hmhvictory 1400628624@qq.com
 * @LastEditTime: 2025-08-01 16:03:16
 * @FilePath: \Gitee实训笔记\day15\Homework\test01\test02\Employee.java
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
package day15.test02;



// 测试类
public abstract class Employee {
    private String name;
    private String gender;
    private String birthDate;

    public Employee(String name, String gender, String birthDate) {
        this.name = name;
        this.gender = gender;
        this.birthDate = birthDate;
    }

    public String getName() {
        return name;
    }

    public String getGender() {
        return gender;
    }

    public String getBirthDate() {
        return birthDate;
    }

    // 计算工资的抽象方法
    public abstract void computeSalary();
}
